﻿namespace Bronze.Network
{
    using System;
    using System.Net.Sockets;

    public class SocketDataInEventArgs
    {
        public int ConnectionId;
        public byte[] Data;
        public Socket Socket;
        public ClientConnection Connection;

        public SocketDataInEventArgs(ClientConnection connection, byte[] datain)
        {
            this.ConnectionId = connection.ConnectionId;
            this.Socket = connection.Socket;
            this.Data = datain;
            this.Connection = connection;
        }
    }
}

